package cn.edu.jxust.core.infrastructure.util;

/**
 * @author QiuKangming
 * @version 1.0
 * @description 常量类, 保存系统的常量信息
 * @since 2020/06/21 11:11
 */
@SuppressWarnings("unused")
public class Const {
    /**
     * 账户被禁用
     */
    public static final Integer ACCOUNT_FORBID = 0;

    /**
     * 账户启用
     */
    public static final Integer ACCOUNT_USING = 1;

    /**
     * 超级管理员
     */
    public static final String SUPER_ADMIN = "超级管理员";
    public static final Integer SUPER_ADMIN_ID = 1;

    /**
     * 局级管理员
     */
    public static final String BUREAU_ADMIN = "局级管理员";
    public static final Integer BUREAU_ADMIN_ID = 2;

    /**
     * 区级管理员
     */
    public static final String DISTRICT_ADMIN = "区级管理员";
    public static final Integer DISTRICT_ADMIN_ID = 3;

    /**
     * 企业用户
     */
    public static final String ENTERPRISE_USER = "企业用户";
    public static final Integer ENTERPRISE_USER_ID = 4;

    /**
     * 默认分页起始页
     */
    public static final String DEFAULT_PAGE_NUMBER = "1";

    /**
     * 默认分页大小
     */
    public static final String DEFAULT_PAGE_SIZE = "10";

    /**
     * 创建用户默认密码
     */
    public static final String DEFAULT_ACCOUNT_PASSWORD = "123456";

    /**
     * 默认顶级资源标识
     */
    public static final Integer RESOURCE = 0;

    /**
     * 默认子资源标识
     */
    public static final Integer SUB_RESOURCE = 1;

    /**
     * 默认具体操作标识
     */
    public static final Integer OPE_RESOURCE = 2;

    /**
     * 设备已绑定监测点值
     */
    public static final Integer BINDING = 1;

    /**
     * 设备未绑定监测点值
     */
    public static final Integer NOT_BINDING = 0;

    /**
     * 设备新注册
     */
    public static final Integer NEW_DEVICE = -1;

    /**
     * OneNet 上传数据长度
     */
    public static final Integer DATA_LENGTH = 5;

    /**
     * Aqi 等级
     */
    public static final Integer AQI_LEVEL_1 = 1;
    public static final Integer AQI_LEVEL_2 = 2;
    public static final Integer AQI_LEVEL_3 = 3;
    public static final Integer AQI_LEVEL_4 = 4;
    public static final Integer AQI_LEVEL_5 = 5;
    public static final Integer AQI_LEVEL_6 = 6;
}
